//package cn.cmvideo.springboot.example;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.jms.core.JmsTemplate;
//import org.springframework.stereotype.Component;
//
//@Component
//public class Sender
//{
////	@Value("#{spring.activemq.queue.name}")
////	private String queueName;
//	
//	@Autowired
//	private JmsTemplate jmsTemplate;
//
//	public void sendMessage()
//	{
//		System.out.println("Sending an email message...");
//		jmsTemplate.convertAndSend("POMS_MSG1002741", new Email("info@example.com", "Hello"));
//	}
//}
